/************ 导航 ************/
header{
    background-color: #171a21;
    height: 104px;
    position: relative;
    
}
header a{
    color: #b8b6b4;
    font-size: 14px;
    text-decoration: none;
}
header a:hover{
    color: #fff;
    text-decoration: none;
}
header .content{
    height: 104px;
}

/**** logo ****/
h1{
    width: 176px;
    height: 44px;
    padding-top: 10px;
    position: relative;
    float: left;
}
h1 a,h1 a img{
    display: block;
    width: 100%;
}

/**** 菜单 ****/
ul{
    float: left;
    height: 104px;
    margin-left: 24px;
    margin-bottom: 0;
}
ul li{
    float: left;
    height: 104px;
    position: relative;
    padding: 0 7px;
}
ul li a{
    display: block;
    padding-top: 43px;
}
ul li a:hover + .menuList-box{
    opacity: 1;
    visibility: visible;
}
ul li .menuList-box:hover{
    visibility: visible;
    opacity: 1;
}
ul li .menuList-box{
    padding: 5px 15px 10px;
    background-color: #171a21;
    box-shadow: 3px 3px 5px -3px #000;
    position: absolute;
    left: 0px;
    top: 64px;
    z-index: 1500;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s linear;
}
ul li .menuList-box .menuList{
    min-width: 58px;
    width: auto;
}
ul li .menuList-box .menuList a{
    padding:6px 10px 6px 0;
    font-size: 11px;
}

/**** 登录菜单 ****/
.menuBtn{
    float: right;
    height: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
    position: relative;
    // display: none;

    a{
        font-size: 12px; 
    }

    .download{
        height: 24px;
        width: 106px;
        background:#5c7e10 url(/images/public/header/btn_header_installsteam_download.png)no-repeat 10px center;
        margin-right: 10px;

        a{
            height: 24px;
            line-height: 24px;
            margin-left: 34px;
            color: #e5e4dc;
            font-family: 'Motiva Sans';
        }

        &:hover a{
            color: #fff;
            text-decoration: none;
        }
    }

    .loginBtn{
        margin-right: 10px;
    }

    i{
        display: block;
        width: 1px;
        height: 10px;
        background-color: #b8b6b4;
        margin-right: 10px;
    }

    span{
        color: #b8b6b4;
        font-size: 12px;
        display: block;
        padding-right: 18px;
        padding-left: 2px;
        background: url(/images/public/header/btn_arrow_down_padded.png)no-repeat right center;

        &:hover{
            color: #fff;
            text-decoration: none;
            cursor: pointer;
        }
    }

    .language-box{
        padding: 5px 15px 10px;
        position: absolute;
        z-index: 1500;
        background-color: #171a21;
        box-shadow: 3px -3px 5px -3px #000;
        left: -88px;
        top: 24px;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.2s linear;

        a{
            display: block;
            padding:6px 10px 6px 0;
            font-size: 11px;
            white-space: nowrap;
        }
    }
}


/** 用户登陆以后的登录菜单 **/
.person-menuBtn{
    float: right;
    display: flex;
    height: 24px;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 6px;
    position: relative; 
    display: none;

    a{
        font-size: 12px; 

    }

    .person-menu{
        display: flex;
        justify-content: space-between;
        align-items: flex-start;

        .download{
            height: 24px;
            width: 106px;
            background:#616a72 url(/images/public/header/btn_header_installsteam_download.png)no-repeat 10px center;
            margin-right: 10px;
            margin-top: 3px;
    
            a{
                height: 24px;
                line-height: 24px;
                margin-left: 34px;
                color: #e5e4dc;
                font-family: 'Motiva Sans';
            }
    
            &:hover a{
                color: #fff;
                text-decoration: none;
            }
        }

        .person{
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-end;
            margin-left: 5px;
            margin-top: 5px;
            position: relative;

            span{
                color: #b8b6b4;
                font-size: 12px;
                display: block;
                padding-right: 18px;
                padding-left: 2px;
                background: url(/images/public/header/btn_arrow_down_padded.png)no-repeat right center;
                font-family: "motiva_sansregular";
        
                &:hover{
                    color: #fff;
                    text-decoration: none;
                    cursor: pointer;
                }
            }

            .wallent{
                margin-top: 3px;
                margin-right: 18px;
            }

            .person-message{
                padding: 5px 15px 10px;
                position: absolute;
                z-index: 1500;
                background-color: #171a21;
                box-shadow: 3px -3px 5px -3px #000;
                right: 0px;
                top: 20px;
                visibility: hidden;
                opacity: 0;
                transition: opacity 0.2s linear;

                a{
                    display: block;
                    padding:6px 10px 6px 0;
                    font-size: 11px;
                    white-space: nowrap;

                    em{
                        color: #57cbde;
                    }
                }
            }
        }
    }

    .headicon{
        width: 34px;
        height: 34px;
        padding: 1px;
        background: linear-gradient( to bottom, rgba(106,106,106,1) 5%, rgba(85,85,85,1) 95%);
        margin-left: 14px;
        margin-top: 2px;


        img{
            width: 32px;
            height: 32px;
            padding: 1px;
        }
    }

}